﻿using System;
using System.Collections.Generic;

namespace Pay.DTO {
	/// <summary>
	/// 授权返回值
	/// </summary>
	public class sts_token : ApiResultMessage {
		/// <summary>
		/// OSS的访问ID
		/// </summary>
		public string accesskey_id { get; set; }
		/// <summary>
		/// OSS的访问密钥
		/// </summary>
		public string accesskey_secret { get; set; }
		/// <summary>
		/// 授权token
		/// </summary>
		public string token { get; set; }
		/// <summary>
		/// 过期时间
		/// </summary>
		public DateTime expiration { get; set; }
		public string bucket_name { get; set; }
		public string end_point { get; set; }
	}
	/// <summary>
	/// 删除文件请求
	/// </summary>
	public class delete_file_model : head_req {
		public delete_file_model() {
			file_names = new List<file_name_item>();
		}
		/// <summary>
		/// 文件名
		/// </summary>
		public List<file_name_item> file_names { get; set; }
	}

	public class file_name_item {
		public string file_name { get; set; }
	}

	/// <summary>
	/// 查询文件请求
	/// </summary>
	public class folder_model : head_req {
		public folder_model() {
		}
		/// <summary>
		/// 文件夹
		/// </summary>
		public string name { get; set; }
	}
}
